package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 直系亲人报告对象 familytree
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public class Familytree extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long id;

    /** 亲人名称 */
    @Excel(name = "亲人名称")
    private String name;

    /** 本人关系 */
    @Excel(name = "本人关系")
    private String relation;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String word;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 年收入 */
    @Excel(name = "年收入")
    private String salary;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("relation", getRelation())
            .append("word", getWord())
            .append("phone", getPhone())
            .append("salary", getSalary())
            .toString();
    }
}
